home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
viewers
/
gifkit11
/
gifstrip.doc
< prev
next >
Wrap
Text File
|
1990-02-22
|
3KB
|
57 lines
GIFSTRIP
Version 1.2, portable
11/16/89
by James W. Birdsall
GIF and "Graphic Interchange Format" are trademarks (tm) of
CompuServe, Inc., an H&R Block company.
GIFSTRIP is designed to remove extraneous characters from the end
of GIF files. These characters are typically added when a GIF
file is transferred via a protocol such as XMODEM. While they do
not usually interfere with use of the GIF file, they do take up
valuable disk space.
usage: GIFSTRIP [-tpath] [target [target target...]]
If no target is given, GIFSTRIP will scan the current directory.
Valid targets are directory names, filenames (including paths), or
filenames (including paths) with wildcards. Target types may be
mixed. For example, if there is a directory /GIF which contains
files ALBERT.GIF, ALIEN.GIF, and BORA.GIF, then
GIFSTRIP /gif will strip all of them.
GIFSTRIP /gif/albert.gif will strip ALBERT
GIFSTRIP /gif/a*.* will strip ALBERT and ALIEN
GIFSTRIP /gif/*r* will strip ALBERT and BORA
The rebuilt file is stored in a temporary file during rebuilding,
then is renamed when finished. Every effort is made to preserve
data integrity -- if any error is detected during rebuilding, the
original file is left untouched and the temporary file removed.
If there isn't enough free space to process a given file, a message
is printed and that file is skipped.
The -t option specifies a drive and/or path for the temporary
file. The default is the same disk and directory as the original file.
The syntax is -tpath, where path is the desired temporary path (possibly
containing a drive). This option should be used when there is insufficient
space on the current drive to hold the GIF file and the temporary file,
but space for the temporary file is available elsewhere.
UNDER UNIX, the -t option specifies a filename (with optional
path), instead of just a path.
Various data concerning the file is displayed during the process.
The displays are for the most part identical to those of GIFLS when
invoked with the -l option, except for a few self-explanatory
additions.
GIFSTRIP can accept a list of targets from stdin. If stdin is redirected,
GIFSTRIP detects this, parses any command line options, and then reads targets
from stdin ONLY -- all command line targets are discarded. The list of targets
can come either from GIFLS or from a file. The targets must be separated by
newlines.